<?php 
$nodes = $this->get_data('nodes');
if ($nodes) {
    foreach ($this->get_data('nodes') as $node){
         m('node')->block_node($node, $this->get_data('attribute'))->display('html');
    }
}?>

<?php $this->display_box('pagination');?>